import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
export default new Vuex.Store({
    state: {
        id: 0, //个人中心记录选择id
    },
    mutations: {
        personalid(state,i) {
            state.id = i
        }
    }
})